CRPEJob::GetSelectedPrinter

Syntax

GetSelectedPrinter () RETURNING BOOLEAN, ixString, ixString, ixString, FOREIGN

Remarks

If a non-default printer is specified in the report, this method retrieves information about that printer. If you need to know which printer has been specified with the report, use CRPEJob::GetSelectedPrinter to obtain the information. This can be useful to determine if the user has access to the printer specified in the report and to choose another printer if not.

Returns

BOOLEAN

TRUE if the call is successful, FALSE if something goes wrong.

ixString

Retrieves the name of the printer driver for the currently selected printer in the report.

ixString

Retrieves the name of the printer currently selected in the report.

ixString

Retrieves the name of the port the currently selected printer is attached to. For example, "LPT1:".

FOREIGN

A DEVMODE class that contains information on the currently selected printer, if the CRPEJob::GetSelectedPrinter method completes successfully. For more information, see DEVMODE.

Related Topics

PEGetSelectedPrinter



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com